﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<%template _header%>
<%namespace YouHP.Model%>
<link rel="stylesheet" href="/support/common/jquery-ui.css" type="text/css" />
<link rel="stylesheet" href="/support/common/impromptu.css" type="text/css" />
<script type="text/javascript"" src="/support/common/jquery.js"></script>
<script type="text/javascript"" src="/support/common/impromptu.js"></script>
<script type="text/javascript"" src="/support/common/ui.core.js"></script>
<script type="text/javascript"" src="/support/common/ui.datepicker.js"></script>
<script type="text/javascript"" src="/support/common/ui.datepicker-zh-CN.js"></script>
<script type="text/javascript"" src="/support/common/common.js"></script>
<div class="layout-cols2">
    <%template _memmenu%>
    <div class="pannelcontent">
        <div class="pcontent">
            <div class="panneldetail">
                <%template _memrecordermenu%>
                <div class="pannelbody">
                    <%csharp%>if( IsPost){
                    <%/csharp%>
                    <div class="box">
                        <div class="msgboxhint">
                            <div class="navforumtrue">
                                {MsgboxText}
                            </div>
                            <div>
                                <%csharp%>TempUrl="/WeightHistory/Index.aspx";<%/csharp%>
                                <a href="{this.GetUrl(TempUrl)}"><font style="font-weight: 700; color: #31600c; text-decoration: underline;">
                                    记录我的体重、身高情况</font></a>&nbsp;&nbsp;
                                <%csharp%>TempUrl="/SymptomHistory/Index.aspx";<%/csharp%>
                                <a href="{this.GetUrl(TempUrl)}"><font style="font-weight: 700; color: #31600c; text-decoration: underline;">
                                    记录我的症状情况</font></a>&nbsp;&nbsp;
                                <%csharp%>TempUrl="/TreatmentHistory/Index.aspx";<%/csharp%>
                                <a href="{this.GetUrl(TempUrl)}"><font style="font-weight: 700; color: #31600c; text-decoration: underline;">
                                    记录我使用的治疗情况</font></a>&nbsp;&nbsp;
                                <%csharp%>TempUrl="/Profile/Index.aspx?uid="+UserData.Id;<%/csharp%>
                                <a href="{this.GetUrl(TempUrl)}"><font style="font-weight: 700; color: #31600c; text-decoration: underline;">
                                    以后再说，先去我的病情系统看看</font></a>
                            </div>
                        </div>
                    </div>
                    <%csharp%>
                    } else {
                    <%/csharp%>
                    <form method="post" id="prdata">
                    <table width="1000px" border="0px" cellpadding="0px" cellspacing="0px" class="table-box">
                        <tbody>
	                <tr>
	                    <td class="table-box-left">您所患疾病：</td>
	                    <td class="table-box-right">
	                        <input type="hidden" name="dszid" id="dszid" value="{PrData.DiseaseId}" />
	                        <input type="text" name="dszname" id="dszname" value="{PrData.DiseaseName}" class="inputstyle" readonly="true" />
	            <%if PrData.DiseaseId>0%>&nbsp;<span style="color:Red;">提示：你不能修改所患的疾病</span><%/if%>
	                    </td>
	                    <td></td>
	                </tr>
	                <tr>
	                    <td class="table-box-left">初次发病时间：</td>
	                    <td class="table-box-right">
	                             <div>  
                                    <dl class="v-form">
                                     
                                            <input class="box-var validate-date" id="odate" maxlength="10" size="10" name="odate" style="vertical-align:middle;" value="{OccureDate}"/>
                                    </dl>
                                </div>
	                         </td>
	                    <td></td>
	                </tr>
	                <tr>
	                    <td class="table-box-left">确诊时间：</td>
	                    <td class="table-box-right">
                                            <input class="box-var validate-date" id="cdate" maxlength="10" size="10" name="cdate" style="vertical-align:middle;" value="{ConfirmDate}"/>
                                 
	                        &nbsp;<span style="color:Red;">提示：请准确填写你的确诊时间，病情系统绘制的病情图表将以此时间作为起点</span>
	                        </td>
	                    <td></td>
	                </tr>
	                <tr>
	                    <td class="table-box-left">确诊医院：</td>
	                    <td class="table-box-right"><input type="text" name="hospital" value="{PrData.ConfirmHospital}" class="inputstyle"></td>
	                    <td></td>
	                </tr>
	                <tr>
	                    <td class="table-box-left">&nbsp;</td>
	                    <td class="table-box-right">
	                    <%if PrData.DiseaseId>0%>
	                        <input class="buttonstyle" type="button" value="保存" onclick="if(window.confirm('确定修改？')) CheckForm();" />
	                     <%else%>   
	                       <input class="buttonstyle" type="button" value="保存" onclick="CheckForm();" />
	                     <%/if%>   
	                        &nbsp;&nbsp;<input class="buttonstyle" type="reset" value="重置" />
	                    </td>
	                    <td></td>
	                </tr>
	                </tbody>
                    </table>
                    </form>
                    <%csharp%>
                    }
                    <%/csharp%>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript" src="/support/Alpha/Js/diseasehistory/index.js"></script>  
<%template _footer%>